package com.jdzy.model.student.pojos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jdzy.model.common.pojos.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

@Data
@ApiModel(description = "Pk记录表")
@TableName("pk_record")
public class PkRecord extends BaseEntity {

    @ApiModelProperty(value = "学号stuId")
    @TableField(value = "stu_id1")
    private String stuId1;

    @ApiModelProperty(value = "学号stuId")
    @TableField(value = "stu_id2")
    private String stuId2;
    @ApiModelProperty(value = "pk结果")
    @TableField(value = "pk_result")
    private Byte pkResult;

    @ApiModelProperty(value = "pk时间")
    @TableField(value = "pk_time")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
    private Date pkTime;


}
